#Author:Jason Song
from django.conf.urls import url
from django.urls import path
from backend import views

urlpatterns = [
    url(r'show_admin', views.show_admin, ),
    url(r'login', views.login, ),
    url(r'user_info', views.user_info,),
    url(r'logout', views.logout, ),
    url(r'product_list', views.product_list, ),
    url(r'warehouse_list', views.warehouse_list, ),
    url(r'subinbound', views.subinbound, ),
    url(r'inbound_record', views.inbound_record, ),
    url(r'actinbound', views.actinbound, ),
    url(r'check_inbound_details', views.check_inbound_details, ),
    url(r'add_warehouse', views.add_warehouse, ),
    url(r'add_goods', views.add_goods, ),
    url(r'agency_list', views.agency_list, ),
    url(r'company_list', views.company_list, ),
    url(r'add_agency', views.add_agency, ),
    url(r'check_outbound_details', views.check_outbound_details, ),
    url(r'suboutbound', views.suboutbound, ),
    url(r'outbound_record', views.outbound_record, ),
    url(r'stock_list', views.stock_list, ),
    url(r'del_outbound', views.del_outbound, ),
    url(r'check_actstock', views.check_actstock, ),
    url(r'check_payment', views.check_payment, ),
    url(r'submit_payment', views.submit_payment, ),
    url('check_peihuo_product', views.check_peihuo_product, ),
    url('peihuo_goods', views.peihuo_goods, ),
    url('check_invoice_no', views.check_invoice_no, ),
    url('up_invoice_no', views.up_invoice_no, ),
    url('submit_peihuo_product', views.submit_peihuo_product, ),
    url('dashboard_outbound', views.dashboard_outbound, ),
    url('peihuo', views.peihuo, ),
    url('req_patch', views.re_patch_no, ),
    url('stock_flow', views.stock_flow, ),

    path('download/excel/', views.ExcelFileDownload.as_view()),

]